package com.woniuxy.cloud.exception;

/**
 * 总异常类
 */
public class BatteryException extends RuntimeException {

    private Integer code;

    public BatteryException(String msg, Integer code) {
        super(msg);
        this.setCode(code);
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }
}
